package com.cskaoyan.vo;

import com.cskaoyan.bean.Order;
import com.cskaoyan.bean.OrderGoods;
import com.cskaoyan.bean.User;

import java.util.List;

public class OrderListVo {

    /**
     * orderGoods : [{"id":24,"orderId":24,"goodsId":1109008,"goodsName":"云端沙发组合","goodsSn":"1109008","productId":140,"number":1,"price":3999,"specifications":["标准"],"picUrl":"http://yanxuan.nosdn.127.net/c5be2604c0e4186a4e7079feeb742cee.png","comment":0,"addTime":"2021-04-24 11:42:22","updateTime":"2021-04-24 11:42:22","deleted":false}]
     * user : {"nickname":"测试用户","avatar":"https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif?imageView2/1/w/80/h/80"}
     * order : {"id":24,"userId":1,"orderSn":"20210424759808","orderStatus":103,"consignee":"张松","mobile":"18566549962","address":"安徽省 合肥市 瑶海区 碧桂园","message":"","goodsPrice":3999,"freightPrice":0,"couponPrice":0,"integralPrice":0,"grouponPrice":0,"orderPrice":3999,"actualPrice":3999,"comments":0,"endTime":"2021-04-24 12:21:31","addTime":"2021-04-24 11:42:22","updateTime":"2021-04-24 12:21:31","deleted":false}
     */

    private User user;
    private Order order;
    private List<OrderGoods> orderGoods;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Order getOrder() {
        return order;
    }

    public void setOrder(Order order) {
        this.order = order;
    }

    public List<OrderGoods> getOrderGoods() {
        return orderGoods;
    }

    public void setOrderGoods(List<OrderGoods> orderGoods) {
        this.orderGoods = orderGoods;
    }

}
